package com.eastfair.businpoint;

import com.eastfair.core.businpoint.BusinPointBuilder;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 通过角色加载用户 加载用户权限事件埋点 业务数据
 */
@Data
public class BusinLoadUserPermissOfRolePoint implements BusinPointBuilder {
    /**
     * 角色id集合
     */
    @ApiModelProperty(value = "角色id集合")
    private List<Long> roleIdList;

    /**
     * 项目id
     */
    private Long projectId;

    @Override
    public String getBusinPointName() {
        return BusinPointKeyDefinition.LOAD_USER_PERMISS_OF_ROLE;
    }
}
